package com.ebupt.migu.music.commons.utils;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
import java.util.HashMap;
import java.util.Map;
@Component
public class PathBuffer {

    // 文件默认保存路径
    @Value("${path.file_global_path}")
    private String FILE_GLOBAL_PATH;

    public final static Map<String, String> NUMBERLOCATION = new HashMap<>();

    /**
     * 缓存电话号码号段信息及省份信息
     */
    @PostConstruct
    private void setPath() {
        NUMBERLOCATION.put("FILE_GLOBAL_PATH",FILE_GLOBAL_PATH);
    }

}
